package sketchpad.gui.component;

import com.jfoenix.controls.JFXSpinner;
import javafx.scene.layout.StackPane;

public class Spinner {

    private StackPane pane;

    public Spinner(StackPane stackPane){
        pane = stackPane;
        double radius = 100;
        constructSpinner(radius);
    }

    public void constructSpinner(double radius){
        JFXSpinner spinner = new JFXSpinner();
        pane.getChildren().add(spinner);
        spinner.setRadius(radius);
        spinner.setStartingAngle(0);
    }
}
